import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
import Parent from '@/components/componentsShare/parent'
import ParentVuex from '@/components/vexShare/parent'
Vue.use(Router)

export default new Router({
  routes: [
   {
      path: '/',
      name: 'parent',
      component: ParentVuex
    },
    {
      path: '/helloWorld',
      name: 'hellowold',
      component: HelloWorld
    }
  ]
})
